home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGZoomAndPan.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  104 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGZoomAndPan.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGZoomAndPan_h__
  6. #define __gen_nsIDOMSVGZoomAndPan_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSVGZoomAndPan */
  19. #define NS_IDOMSVGZOOMANDPAN_IID_STR "18967370-921a-4245-8158-a279b190abca"
  20.  
  21. #define NS_IDOMSVGZOOMANDPAN_IID \
  22.   {0x18967370, 0x921a, 0x4245, \
  23.     { 0x81, 0x58, 0xa2, 0x79, 0xb1, 0x90, 0xab, 0xca }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSVGZoomAndPan : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGZOOMANDPAN_IID)
  29.  
  30.   enum { SVG_ZOOMANDPAN_UNKNOWN = 0U };
  31.  
  32.   enum { SVG_ZOOMANDPAN_DISABLE = 1U };
  33.  
  34.   enum { SVG_ZOOMANDPAN_MAGNIFY = 2U };
  35.  
  36.   /* attribute unsigned short zoomAndPan; */
  37.   NS_IMETHOD GetZoomAndPan(PRUint16 *aZoomAndPan) = 0;
  38.   NS_IMETHOD SetZoomAndPan(PRUint16 aZoomAndPan) = 0;
  39.  
  40. };
  41.  
  42. /* Use this macro when declaring classes that implement this interface. */
  43. #define NS_DECL_NSIDOMSVGZOOMANDPAN \
  44.   NS_IMETHOD GetZoomAndPan(PRUint16 *aZoomAndPan); \
  45.   NS_IMETHOD SetZoomAndPan(PRUint16 aZoomAndPan); 
  46.  
  47. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  48. #define NS_FORWARD_NSIDOMSVGZOOMANDPAN(_to) \
  49.   NS_IMETHOD GetZoomAndPan(PRUint16 *aZoomAndPan) { return _to GetZoomAndPan(aZoomAndPan); } \
  50.   NS_IMETHOD SetZoomAndPan(PRUint16 aZoomAndPan) { return _to SetZoomAndPan(aZoomAndPan); } 
  51.  
  52. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  53. #define NS_FORWARD_SAFE_NSIDOMSVGZOOMANDPAN(_to) \
  54.   NS_IMETHOD GetZoomAndPan(PRUint16 *aZoomAndPan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetZoomAndPan(aZoomAndPan); } \
  55.   NS_IMETHOD SetZoomAndPan(PRUint16 aZoomAndPan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetZoomAndPan(aZoomAndPan); } 
  56.  
  57. #if 0
  58. /* Use the code below as a template for the implementation class for this interface. */
  59.  
  60. /* Header file */
  61. class nsDOMSVGZoomAndPan : public nsIDOMSVGZoomAndPan
  62. {
  63. public:
  64.   NS_DECL_ISUPPORTS
  65.   NS_DECL_NSIDOMSVGZOOMANDPAN
  66.  
  67.   nsDOMSVGZoomAndPan();
  68.  
  69. private:
  70.   ~nsDOMSVGZoomAndPan();
  71.  
  72. protected:
  73.   /* additional members */
  74. };
  75.  
  76. /* Implementation file */
  77. NS_IMPL_ISUPPORTS1(nsDOMSVGZoomAndPan, nsIDOMSVGZoomAndPan)
  78.  
  79. nsDOMSVGZoomAndPan::nsDOMSVGZoomAndPan()
  80. {
  81.   /* member initializers and constructor code */
  82. }
  83.  
  84. nsDOMSVGZoomAndPan::~nsDOMSVGZoomAndPan()
  85. {
  86.   /* destructor code */
  87. }
  88.  
  89. /* attribute unsigned short zoomAndPan; */
  90. NS_IMETHODIMP nsDOMSVGZoomAndPan::GetZoomAndPan(PRUint16 *aZoomAndPan)
  91. {
  92.     return NS_ERROR_NOT_IMPLEMENTED;
  93. }
  94. NS_IMETHODIMP nsDOMSVGZoomAndPan::SetZoomAndPan(PRUint16 aZoomAndPan)
  95. {
  96.     return NS_ERROR_NOT_IMPLEMENTED;
  97. }
  98.  
  99. /* End of implementation class template. */
  100. #endif
  101.  
  102.  
  103. #endif /* __gen_nsIDOMSVGZoomAndPan_h__ */
  104.